From eebae3dd5ca9e7f3fd04ed7e6c503d73f1da3888 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 16 Jun 1993 14:13:15 +0000 Subject: [PATCH] * xdisp.c (redisplay_window): No need to subtract BEGV to compute the scroll bar handle's end. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index e9777efee39..f2da1dd25ce 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1079,7 +1079,7 @@ done: start = startp - BEGV; /* I don't think this is guaranteed to be right. For the moment, we'll pretend it is. */ - end = (Z - XINT (w->window_end_pos)) - BEGV; + end = (Z - XINT (w->window_end_pos)); if (end < start) end = start; if (whole < (end - start)) whole = end - start; -- 2.30.2